Clicker Questions

to go along with

Modern Data Science with R, 3rd edition by Baumer, Kaplan, and Horton

Introduction to Statistical Learning with Applications in R by James, Witten, Hastie, and Tibshirani


  1. The reason to take random samples is:1
    1. to make cause and effect conclusions
    2. to get as many variables as possible
    3. it’s easier to collect a large dataset
    4. so that the data are a good representation of the population
    5. I have no idea why one would take a random sample

  1. The reason to allocate/assign explanatory variables is:2
    1. to make cause and effect conclusions
    2. to get as many variables as possible
    3. it’s easier to collect a large dataset
    4. so that the data are a good representation of the population
    5. I have no idea what you mean by “allocate/assign” (or “explanatory variable” for that matter)

  1. Approximately how big is a tweet?3
    1. 0.01Kb
    2. 0.1Kb
    3. 1Kb
    4. 100Kb
    5. 1000Kb = 1Mb

  1. \(R^2\) measures:4
    1. the proportion of variability in vote margin as explained by tweet share.
    2. the proportion of variability in tweet share as explained by vote margin.
    3. how appropriate the linear part of the linear model is.
    4. whether or not particular variables should be included in the model.

  1. R / R Studio / Quarto5
    1. all good
    2. started, progress is slow and steady
    3. started, very stuck
    4. haven’t started yet
    5. what do you mean by “R”?

  1. Git / GitHub6
    1. all good
    2. started, progress is slow and steady
    3. started, very stuck
    4. haven’t started yet
    5. what do you mean by “Git”?

  1. Which of the following includes talking to GitHub?7
    1. changing your name (updating the YAML)
    2. committing the file(s)
    3. pushing the file(s)
    4. some of the above
    5. all of the above

  1. What is the error?8
    1. poor assignment operator
    2. unmatched quotes
    3. improper syntax for function argument
    4. invalid object name
    5. no mistake
shup2 <-- "Hello to you!"

  1. What is the error?9
    1. poor assignment operator
    2. unmatched quotes
    3. improper syntax for function argument
    4. invalid object name
    5. no mistake
3shup <-  "Hello to you!"

  1. What is the error?10
    1. poor assignment operator
    2. unmatched quotes
    3. improper syntax for function argument
    4. invalid object name
    5. no mistake
shup4 <-  "Hello to you!

  1. What is the error?11
    1. poor assignment operator
    2. unmatched quotes
    3. improper syntax for function argument
    4. invalid object name
    5. no mistake
shup5 <-  date()

  1. What is the error?12
    1. poor assignment operator
    2. unmatched quotes
    3. improper syntax for function argument
    4. invalid object name
    5. no mistake
shup6 <-  sqrt 10

  1. Do you keep a calendar / schedule / planner?13
    1. Yes
    2. No

  1. Do you keep a calendar / schedule / planner? If you answered “Yes” …14
    1. Yes, on Google Calendar
    2. Yes, on Calendar for macOS
    3. Yes, on Outlook for Windows
    4. Yes, in some other app
    5. Yes, by hand

:::

Footnotes

    1. so that the data are a good representation of the population
    ↩︎
    1. to make cause and effect conclusions
    ↩︎
    1. about 0.1Kb. Turns out that 3.5 billion tweets * 0.1Kb = 350Gb (0.35 Tb). My laptop is pretty good, and it has 36 Gb of memory (RAM) and 4 Tb of storage. It would not be able to work with 3.5 billion tweets.
    ↩︎
    1. the proportion of variability in vote margin as explained by tweet share.
    ↩︎
  1. wherever you are, make sure you are communicating with me when you have questions!↩︎

  2. wherever you are, make sure you are communicating with me when you have questions!↩︎

    1. some of the above (b. committing the file(s) and c. pushing the file(s))
    ↩︎
    1. poor assignment operator
    ↩︎
    1. invalid object name
    ↩︎
    1. unmatched quotes
    ↩︎
    1. no mistake
    ↩︎
    1. improper syntax for a function argument
    ↩︎
    1. I mean, the right answer has to be Yes, right!??!
    ↩︎
  3. no right answer here!↩︎

Reuse